<%
  #File :   /app/views/manage/functions/list.rhtml
  #Author:  Andrew Stone
  #Created: 08.06.2006
%> 
<%=start_medium_div_wrapper%>
  <div id="page_title">Listing Functions</div>
  <div id="medium">
    <table>
      <thead>
        <tr>
          <td>Name</td>
          <td>Actions</td>
        </tr>
      </thead>
      <tbody>
        <%
          i = 0
          @functions.each do |fc|
            bg = row_class(i)
            i += 1
        %>
            <tr class="<%=bg%>">
              <td><%=h(fc.name)%></td>
              <td class="action">
                <%=secure_links([
                secure_link_to("Update", ca("/manage/functions","update", fc.id)),
                secure_link_to("Show", ca("/manage/functions","show", fc.id)),
                ])%>
              </td>
            </tr>
        <% 
          end %>
      </tbody>
    </table>
  </div>
<%=end_div_wrapper%>
